package com.sofwin.controller.contents;

import com.sofwin.pojo.CPlanpreparationWithBLOBs;
import com.sofwin.service.contents.PlanpreparationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @program: ssm-parent
 * @description: 发展规划及上市情况准备信息
 * @author: Mr.lzk
 * @create: 2021-04-27 11:49
 * @Version 1.0
 **/
@RequestMapping("planpreparation")
@Controller
public class PlanpreparationController {
    @Autowired
    private PlanpreparationService service;
    @RequestMapping("data")
    public String data(Integer companyId, Model model){
        CPlanpreparationWithBLOBs cPlanpreparationWithBLOBs = service.selectPlanpreparation(companyId);
        model.addAttribute("planpreparation",cPlanpreparationWithBLOBs);
        return "c_information/contents/planpreparation";
    }
}
